wayland: Do not map toplevel utility as popup
authorOlivier Fourdan <ofourdan@redhat.com>
Tue, 2 May 2017 09:41:26 +0000 (11:41 +0200)
committerOlivier Fourdan <ofourdan@redhat.com>
Fri, 2 Jun 2017 13:15:45 +0000 (15:15 +0200)
commita84fc3878477832a879df278d82f98a03c75a2b7
tree564e04e539abd51642d30ee98f8ce13272f136f5
parenta1dc9e466066dd18592559d21d8647a43169e73a
wayland: Do not map toplevel utility as popup

Applications can specify the type hint as utility even on toplevel
windows.

When that toplevel is also marked as a transient for another window,
GDK Wayland backend would translate that as an xdg_popup which is not
appropriate.

While utility temp windows should remain mapped as subsurfaces (such as
the ones used by treeviews), regular windows should not translate as
neither a subsurface nor an xdg_popup.

https://bugzilla.gnome.org/show_bug.cgi?id=781945
gdk/wayland/gdkwindow-wayland.c